package com.uzai.console.dto.user.wxpubuser;

import com.uzai.console.dto.QueryParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author liuqi
 * @date 2021年08月27日 13:45
 */
@ApiModel("公众号查询下级成员参数")
public class FindSonWxpubUserListQuery extends QueryParam {
    @ApiModelProperty("上级用户ID")
    private Long parentId;

    @ApiModelProperty(value = "是否删除", hidden = true)
    private Integer delStatus;

    @ApiModelProperty("查询类型（1-买家；2-代理；3-直推买家；4-非直推买家）")
    private Integer type;

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getDelStatus() {
        if(delStatus == null){
            delStatus = 0;
        }
        return delStatus;
    }

    public void setDelStatus(Integer delStatus) {
        this.delStatus = delStatus;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
